package com.ruoyi.project.wx.domain;

import com.ruoyi.project.wx.service.Price;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 秒杀
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-05-27 17:56:21
 */
public class GoodsSpikeDO implements Serializable, Price {
	private static final long serialVersionUID = 1L;
	
	//id
	private String id;
	//时间段ID
	private String timeId;
	//商品id
	private String goodsId;
	//规格id
	private String productId;
	//分销价
	private BigDecimal price;
	//库存
	private Integer stock;
	//删除标记(0-正常,1-删除)
	private Integer delFlag;
	//秒杀销量
	private Integer numSale;
	//创建时间
	private Date createAt;
	//a级价格
	private BigDecimal priceA;
	//b级价格
	private BigDecimal priceB;
	//c级价格
	private BigDecimal priceC;

	/**
	 * 设置：id
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public String getId() {
		return id;
	}
	/**
	 * 设置：商品id
	 */
	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}
	/**
	 * 获取：商品id
	 */
	public String getGoodsId() {
		return goodsId;
	}
	/**
	 * 设置：规格id
	 */
	public void setProductId(String productId) {
		this.productId = productId;
	}
	/**
	 * 获取：规格id
	 */
	public String getProductId() {
		return productId;
	}
	/**
	 * 设置：分销价
	 */
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	/**
	 * 获取：分销价
	 */
	public BigDecimal getPrice() {
		return price;
	}
	/**
	 * 设置：库存
	 */
	public void setStock(Integer stock) {
		this.stock = stock;
	}
	/**
	 * 获取：库存
	 */
	public Integer getStock() {
		return stock;
	}
	/**
	 * 设置：删除标记(0-正常,1-删除)
	 */
	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}
	/**
	 * 获取：删除标记(0-正常,1-删除)
	 */
	public Integer getDelFlag() {
		return delFlag;
	}

	public String getTimeId() {
		return timeId;
	}

	public void setTimeId(String timeId) {
		this.timeId = timeId;
	}

	public Integer getNumSale() {
		return numSale;
	}

	public void setNumSale(Integer numSale) {
		this.numSale = numSale;
	}

	public Date getCreateAt() {
		return createAt;
	}

	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}
	public BigDecimal getPriceA() {
		return priceA;
	}
	public void setPriceA(BigDecimal priceA) {
		this.priceA = priceA;
	}
	public BigDecimal getPriceB() {
		return priceB;
	}
	public void setPriceB(BigDecimal priceB) {
		this.priceB = priceB;
	}
	public BigDecimal getPriceC() {
		return priceC;
	}
	public void setPriceC(BigDecimal priceC) {
		this.priceC = priceC;
	}
	

}
